package com.samphanie.lib.network;

public class GetRequest<T> extends Request<T, GetRequest> {

    public GetRequest(String mUrl) {
        super(mUrl);
    }

    @Override
    protected okhttp3.Request generator(okhttp3.Request.Builder builder) {

        okhttp3.Request request = builder.get().url(UrlCreator.createUrlFromParams(getmUrl(), getParams())).build();

        return request;
    }

}
